from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'friendlies.views.home', name='home'),
    # url(r'^friendlies/', include('friendlies.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
     url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
     (r'^$', 'games.views.home'),  
     (r'^home/$', 'games.views.home'),  
     (r'^accounts/profile', 'games.views.profile'),
     (r'^xd_receiver\.html$','games.views.xd_receiver'),
     (r'^facebook/', include('facebookconnect.urls')),
     (r'^scheduling/$', 'games.views.scheduling'),
     (r'^games/$', 'games.views.games'),
     (r'^games/(?P<name>.*)/$', 'games.views.game_page'),
     (r'^community/$', 'games.views.community'),
     url(r'^admin/jsi18n', 'django.views.i18n.javascript_catalog'),
     url(r'^admin/', include(admin.site.urls)),
     (r'^', 'games.views.home'),
)
